<?php

return [

    // ----------------------- 菜单配置 ----------------------- //
    'config' => [
        // 菜单配置
        'menu' => [
            'location' => 'addons', // default:系统顶部菜单;addons:应用中心菜单
            'icon' => 'fa fa-puzzle-piece',
        ],
        // 子模块配置
        'modules' => [
        ],
    ],

    // ----------------------- 快捷入口 ----------------------- //

    'cover' => [

    ],

    // ----------------------- 菜单配置 ----------------------- //

    'menu' => [
        [
            'title' => '签到签退',
            'route' => 'check/index',
            'icon' => '',
            'params' => [

            ],
            'child' => [

            ],
        ],
        [
            'title' => '班次管理',
            'route' => 'classes/index',
            'icon' => '',
            'params' => [

            ],
            'child' => [

            ],
        ],
        [
            'title' => '排班管理',
            'route' => 'plan/index',
            'icon' => '',
            'params' => [

            ],
            'child' => [

            ],
        ],
        [
            'title' => '我的排班',
            'route' => 'my/index',
            'icon' => '',
            'params' => [

            ],
            'child' => [

            ],
        ]
    ],

    // ----------------------- 权限配置 ----------------------- //

    'authItem' => [
        [
            'title' => '签到签退',
            'name' => 'check',
            'child' => [
                [
                    'title' => '考勤列表',
                    'name' => 'check/index',
                ],
                [
                    'title' => '创建考勤',
                    'name' => 'check/create',
                ],
                [
                    'title' => '编辑考勤',
                    'name' => 'check/edit',
                ],
                [
                    'title' => '删除考勤',
                    'name' => 'check/delete',
                ],
                [
                    'title' => '导出考勤',
                    'name' => 'check/export',
                ],
            ]
        ],
        [
            'title' => '班次管理',
            'name' => 'classes',
            'child' => [
                [
                    'title' => '班次列表',
                    'name' => 'classes/index',
                ],
                [
                    'title' => '创建班次',
                    'name' => 'classes/create',
                ],
                [
                    'title' => '编辑班次',
                    'name' => 'classes/edit',
                ],
                [
                    'title' => '删除班次',
                    'name' => 'classes/delete',
                ],
                [
                    'title' => '班次状态',
                    'name' => 'classes/ajax-update',
                ],
            ]
        ],
        [
            'title' => '排班管理',
            'name' => 'plan',
            'child' => [
                [
                    'title' => '排班列表',
                    'name' => 'plan/index',
                ],
                [
                    'title' => '创建排班',
                    'name' => 'plan/create',
                ],
                [
                    'title' => '编辑排班',
                    'name' => 'plan/edit',
                ],
                [
                    'title' => '删除排班',
                    'name' => 'plan/delete',
                ],
                [
                    'title' => '查看排班',
                    'name' => 'plan/view',
                ],
                [
                    'title' => '排班状态',
                    'name' => 'plan/ajax-update',
                ],
            ]
        ],
        [
            'title' => '我的排班',
            'name' => 'my/index',
        ],
    ],
];